add_library(IRISPass
        MoveAlloca.cpp
        MoveAllocaLLVMIR.cpp
        RemoveUnreachableOperation.cpp)

find_package(MLIR REQUIRED CONFIG)
target_include_directories(IRISPass PRIVATE ${MLIR_INCLUDE_DIRS})
target_compile_options(IRISPass PRIVATE "-fno-rtti")